<?php
    $controllerName = Zend_Controller_Front::getInstance()->getRequest()->getControllerName();
    if ($controllerName == "administracion") {
        $actionName = Zend_Controller_Front::getInstance()->getRequest()->getActionName();
?>

<div class="gb-box gb-vmenublock">
    <div class="gb-box-body gb-vmenublock-body">
        <div class="gb-bar gb-vmenublockheader">
            <h3 class="t">Submenú Administración</h3>
        </div>
        <div class="gb-box gb-vmenublockcontent">
            <div class="gb-box-body gb-vmenublockcontent-body">
                <ul class="gb-vmenu">
                    <li>
                        <a href="<?php echo $this->myUrl(array(), 'home') ?>administracion/bibliotecarios" <?php if($actionName == 'bibliotecarios') { echo 'class="active"';}?>>Bibliotecarios</a>
                    </li>
                    <li>
                        <a href="<?php echo $this->myUrl(array(), 'home') ?>administracion/roles" <?php if($actionName == 'roles') { echo 'class="active"';}?>>Roles</a>
                    </li>
                    <li>
                        <a href="#">Socios</a>
                        <ul>
                            <li>
                                <a href="<?php echo $this->myUrl(array(), 'home') ?>administracion/tipossocios" <?php if($actionName == 'tipossocios') { echo 'class="active"';}?>>Tipos de socios</a>
                            </li>
                            <li>
                                <a href="<?php echo $this->myUrl(array(), 'home') ?>administracion/camposextra" <?php if($actionName == 'camposextra') { echo 'class="active"';}?>>Campos adicionales</a>
                            </li>
                        </ul>
                    </li>
                    <li>
                        <a href="<?php echo $this->myUrl(array(), 'home') ?>administracion/configuracion" <?php if($actionName == 'configuracion') { echo 'class="active"';}?>>Configuración</a>
                    </li>
                </ul>
                <div class="cleared"></div>
            </div>
        </div>
        <div class="cleared"></div>
    </div>
</div>
<?php }?>
